package cn.ssq.dao;

import cn.ssq.domain.BacterialStrainInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BacterialStrainInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(@Param("sampleInfoId") Integer sampleInfoId, @Param("sampleNum") String sampleNum, @Param("originalNum") String originalNum, @Param("wordAddr") String wordAddr, @Param("txtAddr") String txtAddr, @Param("pictureAddr") String pictureAddr, @Param("isdel") Integer isdel);

    int insertSelective(BacterialStrainInfo record);

    BacterialStrainInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BacterialStrainInfo record);

    int updateByPrimaryKey(Integer sampleInfoId);
    Integer[] selectSamId(Integer samId);


    public void insertInto(BacterialStrainInfo bacter);
    Integer insertIntoById(@Param("sampleId") String sampleId, @Param("originalNum") String originalNum);
}